]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search-result: Use a larger icon size
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 25 Feb 2011 21:53:53 +0000 (22:53 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 2 Mar 2011 22:12:35 +0000 (23:12 +0100)
Increase the icon size of search results for consistency with the
application view. To account for the larger icons, only display
a single row of results per section.

https://bugzilla.gnome.org/show_bug.cgi?id=643632

data/theme/gnome-shell.css
js/ui/searchDisplay.js

index c7d875a136978a12d9f00c3a6b8db9645a5b912e..65312383f869db28666e0b16d1cbe875656b69c7 100644 (file)
@@ -534,22 +534,17 @@ StTooltip StLabel {
 
 .icon-grid {
     spacing: 36px;
-    -shell-grid-item-size: 70px;
-}
-
-.all-app {
-    padding: 16px 25px 16px 16px;
-    spacing: 20px;
-}
-
-.all-app .icon-grid {
     -shell-grid-item-size: 118px;
 }
 
-.all-app .overview-icon {
+.icon-grid .overview-icon {
     icon-size: 96px;
 }
 
+.all-app {
+    padding: 16px 25px 16px 16px;
+    spacing: 20px;
+}
 
 .app-filter {
     font-size: 14px;
index 485620c8263bc7cabb767ec9a3d3479d499a47dd..0527d8f83edd36f5dac2f6b919b8057cbe67f1c1 100644 (file)
@@ -13,7 +13,7 @@ const Main = imports.ui.main;
 const Overview = imports.ui.overview;
 const Search = imports.ui.search;
 
-const MAX_SEARCH_RESULTS_ROWS = 2;
+const MAX_SEARCH_RESULTS_ROWS = 1;
 
 
 function SearchResult(provider, metaInfo, terms) {